<template>
  <div class="mePage">
    <div class="setingList">
      <div class="setingItem" v-for='(item,index) in setList'>
        <div class="setignName">{{item.setListName}}</div>
        <div class="setignHander">{{item.goHandle}}</div>
      </div>
    </div>
  </div>
</template>

<script>
  import ChooseCard from './common/chooseCard.vue'
  import {mapGetters, mapActions} from 'Vuex'
  import config from '../utils/config'
  export default {
    components: {ChooseCard},
    data () {
      return {
        dollPlace: '深圳市城市广场B栋娃娃机',
        cardList: config.cardList,
        setList: config.setList
      }
    },
    mounted() {
    },
    methods: {}

  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style rel="stylesheet/scss" lang="scss" scoped>
  .mePage {
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgb(243, 243, 243);
    padding: 10px;
    font-size: 16px;
    .setingList {
      padding: 10px;
      border-radius: 5px;
      background-color: #fff;
      .setingItem {
        box-sizing: border-box;
        width: 100%;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 40px;
        position: relative;
        &::before {
          position: absolute;
          content: '';
          width: 30px;
          height: 30px;
          left: 0;
          background: url("../assets/images/icon_about_us.png") no-repeat center;
          -webkit-background-size: cover;
          background-size: cover;
        }
        &::after {
          position: absolute;
          content: '';
          width: 30px;
          height: 30px;
          right: 0;
          background: url("../assets/images/icon_go.png") no-repeat center;
          -webkit-background-size: 100%;
          background-size: 100%;
          transform:rotate(180deg);
        }
        &.setingItem:nth-child(1) {
          border-bottom: 1px solid rgb(243, 243, 243);
          &::before {
            background: url("../assets/images/icon_phone_number.png") no-repeat center;
            -webkit-background-size: cover;
            background-size: cover;
          }
        }

      }
    }
  }
</style>
